/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.easy.core.executor;

import java.util.concurrent.ExecutorService;

/**
 *
 *
 * @author Jasmine
 * @since 1.0.0
 */
public class GlobalThreadPool {
    public static final ExecutorService GLOBAL_EXECUTOR = ExecutorFactory.newFixedExecutorService(
        "project-boot-framework", 6, new NameThreadFactory("com.boot.commons.core.executor.GlobalThreadPool"));

    public static final ExecutorService LOG_EXECUTOR = ExecutorFactory.newSingleExecutorService(
        "project-boot-framework", new NameThreadFactory("com.boot.commons.log.pojo.SysOperateLogDTO"));
}
